<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags" %>
<div id="MENU">
<ul>
<li><a href="../pub/index.htm">Strona główna</a></li>
<li><a href="../pub/about.htm">O nas</a></li>
<li><a href="../pub/contact.htm">Kontakt</a></li>
<sec:authorize ifNotGranted="ROLE_CUSTOMER,ROLE_STAFF,ROLE_MANAGER">
<li><a href="../pub/register.htm">Zarejestruj się</a></li>
<li><a href="../pub/login.htm">Zaloguj się</a></li>
</sec:authorize>
<sec:authorize ifAnyGranted="ROLE_CUSTOMER,ROLE_STAFF,ROLE_MANAGER">
<li><a href="../j_spring_security_logout">Wyloguj się</a></li>
</sec:authorize>
</ul>
</div>
<sec:authorize ifAllGranted="ROLE_CUSTOMER">
	<%@ include file="../customer/menu.jsp"%>
</sec:authorize>